package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.pojo.Product;
import com.bwie.pojo.ProductType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductMapper extends BaseMapper<Product> {
    List<Product> productList();



    @Select("select id,type_name from product_type")
    List<ProductType> productTypeList();


}
